
package info.neocron.service.PublicInterface;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for ServerStatistic complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="ServerStatistic">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Id" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="Players" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="Latency" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="IsOnline" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ServerStatistic", propOrder = {
    "id",
    "name",
    "players",
    "latency",
    "isOnline"
})
public class ServerStatistic {

    @XmlElement(name = "Id")
    protected int id;
    @XmlElement(name = "Name")
    protected String name;
    @XmlElement(name = "Players")
    protected long players;
    @XmlElement(name = "Latency")
    protected int latency;
    @XmlElement(name = "IsOnline")
    protected boolean isOnline;

    /**
     * Gets the value of the id property.
     * 
     */
    public int getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     */
    public void setId(int value) {
        this.id = value;
    }

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * Gets the value of the players property.
     * 
     */
    public long getPlayers() {
        return players;
    }

    /**
     * Sets the value of the players property.
     * 
     */
    public void setPlayers(long value) {
        this.players = value;
    }

    /**
     * Gets the value of the latency property.
     * 
     */
    public int getLatency() {
        return latency;
    }

    /**
     * Sets the value of the latency property.
     * 
     */
    public void setLatency(int value) {
        this.latency = value;
    }

    /**
     * Gets the value of the isOnline property.
     * 
     */
    public boolean isIsOnline() {
        return isOnline;
    }

    /**
     * Sets the value of the isOnline property.
     * 
     */
    public void setIsOnline(boolean value) {
        this.isOnline = value;
    }

}
